package com.bit.java;

public class Test1 {

    public static int max2(int x, int y) {
        return x > y ? x : y;
    }

    public static int max3(int a, int b, int c) {
        int m = max2(a,b);
        int n = max2(m,c);
        return n;
    }

    public static void main(String[] args) {
            int ret = max3(12,33,66);
        System.out.println(ret);
    }
}
